home *** CD-ROM | disk | FTP | other *** search
/ 1st Multimedia Mac Shareware / Multimedia Shareware CD-ROM - BetaCorp.iso / Demosƒ / Global Recall 2.0d / Global Graphing / cards.xml < prev    next >
Encoding:
Text File  |  1991-11-01  |  18.9 KB  |  484 lines

  1. card_4073.xml
  2. <?xml version="1.0" encoding="utf-8" ?>
  3. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  4. <card>
  5.     <id>4073</id>
  6.     <filler1>0</filler1>
  7.     <bitmap>BMAP_4334.pbm</bitmap>
  8.     <cantDelete> <false /> </cantDelete>
  9.     <showPict> <true /> </showPict>
  10.     <dontSearch> <false /> </dontSearch>
  11.     <owner>2706</owner>
  12.     <link rel="stylesheet" type="text/css" href="stylesheet_3194.css" />
  13.     <part>
  14.         <id>1</id>
  15.         <type>field</type>
  16.         <visible> <true /> </visible>
  17.         <dontWrap> <false /> </dontWrap>
  18.         <dontSearch> <false /> </dontSearch>
  19.         <sharedText> <false /> </sharedText>
  20.         <fixedLineHeight> <false /> </fixedLineHeight>
  21.         <autoTab> <false /> </autoTab>
  22.         <lockText> <true /> </lockText>
  23.         <rect>
  24.             <left>239</left>
  25.             <top>12</top>
  26.             <right>390</right>
  27.             <bottom>57</bottom>
  28.         </rect>
  29.         <style>scrolling</style>
  30.         <autoSelect> <false /> </autoSelect>
  31.         <showLines> <false /> </showLines>
  32.         <wideMargins> <false /> </wideMargins>
  33.         <multipleLines> <false /> </multipleLines>
  34.         <reservedFamily> 0 </reservedFamily>
  35.         <titleWidth>0</titleWidth>
  36.         <icon>0</icon>
  37.         <textAlign>left</textAlign>
  38.         <font>Monaco</font>
  39.         <textSize>9</textSize>
  40.         <textStyle>plain</textStyle>
  41.         <textHeight>12</textHeight>
  42.         <name>allList</name>
  43.         <script></script>
  44.     </part>
  45.     <part>
  46.         <id>2</id>
  47.         <type>field</type>
  48.         <visible> <true /> </visible>
  49.         <dontWrap> <false /> </dontWrap>
  50.         <dontSearch> <false /> </dontSearch>
  51.         <sharedText> <false /> </sharedText>
  52.         <fixedLineHeight> <false /> </fixedLineHeight>
  53.         <autoTab> <false /> </autoTab>
  54.         <lockText> <false /> </lockText>
  55.         <rect>
  56.             <left>218</left>
  57.             <top>82</top>
  58.             <right>390</right>
  59.             <bottom>141</bottom>
  60.         </rect>
  61.         <style>scrolling</style>
  62.         <autoSelect> <false /> </autoSelect>
  63.         <showLines> <false /> </showLines>
  64.         <wideMargins> <false /> </wideMargins>
  65.         <multipleLines> <false /> </multipleLines>
  66.         <reservedFamily> 0 </reservedFamily>
  67.         <titleWidth>0</titleWidth>
  68.         <icon>0</icon>
  69.         <textAlign>left</textAlign>
  70.         <font>Monaco</font>
  71.         <textSize>9</textSize>
  72.         <textStyle>plain</textStyle>
  73.         <textHeight>12</textHeight>
  74.         <name>topicList</name>
  75.         <script></script>
  76.     </part>
  77.     <part>
  78.         <id>4</id>
  79.         <type>field</type>
  80.         <visible> <true /> </visible>
  81.         <dontWrap> <false /> </dontWrap>
  82.         <dontSearch> <false /> </dontSearch>
  83.         <sharedText> <false /> </sharedText>
  84.         <fixedLineHeight> <false /> </fixedLineHeight>
  85.         <autoTab> <false /> </autoTab>
  86.         <lockText> <false /> </lockText>
  87.         <rect>
  88.             <left>21</left>
  89.             <top>143</top>
  90.             <right>163</right>
  91.             <bottom>286</bottom>
  92.         </rect>
  93.         <style>scrolling</style>
  94.         <autoSelect> <false /> </autoSelect>
  95.         <showLines> <false /> </showLines>
  96.         <wideMargins> <false /> </wideMargins>
  97.         <multipleLines> <false /> </multipleLines>
  98.         <reservedFamily> 0 </reservedFamily>
  99.         <titleWidth>0</titleWidth>
  100.         <icon>0</icon>
  101.         <textAlign>left</textAlign>
  102.         <font>Geneva</font>
  103.         <textSize>9</textSize>
  104.         <textStyle>plain</textStyle>
  105.         <textHeight>12</textHeight>
  106.         <name>data1</name>
  107.         <script></script>
  108.     </part>
  109.     <part>
  110.         <id>6</id>
  111.         <type>field</type>
  112.         <visible> <true /> </visible>
  113.         <dontWrap> <false /> </dontWrap>
  114.         <dontSearch> <false /> </dontSearch>
  115.         <sharedText> <false /> </sharedText>
  116.         <fixedLineHeight> <false /> </fixedLineHeight>
  117.         <autoTab> <false /> </autoTab>
  118.         <lockText> <false /> </lockText>
  119.         <rect>
  120.             <left>182</left>
  121.             <top>210</top>
  122.             <right>345</right>
  123.             <bottom>288</bottom>
  124.         </rect>
  125.         <style>scrolling</style>
  126.         <autoSelect> <false /> </autoSelect>
  127.         <showLines> <false /> </showLines>
  128.         <wideMargins> <false /> </wideMargins>
  129.         <multipleLines> <false /> </multipleLines>
  130.         <reservedFamily> 0 </reservedFamily>
  131.         <titleWidth>0</titleWidth>
  132.         <icon>0</icon>
  133.         <textAlign>left</textAlign>
  134.         <font>Helvetica</font>
  135.         <textSize>9</textSize>
  136.         <textStyle>plain</textStyle>
  137.         <textHeight>12</textHeight>
  138.         <name>data3</name>
  139.         <script></script>
  140.     </part>
  141.     <part>
  142.         <id>7</id>
  143.         <type>field</type>
  144.         <visible> <true /> </visible>
  145.         <dontWrap> <false /> </dontWrap>
  146.         <dontSearch> <false /> </dontSearch>
  147.         <sharedText> <false /> </sharedText>
  148.         <fixedLineHeight> <false /> </fixedLineHeight>
  149.         <autoTab> <false /> </autoTab>
  150.         <lockText> <false /> </lockText>
  151.         <rect>
  152.             <left>184</left>
  153.             <top>151</top>
  154.             <right>355</right>
  155.             <bottom>207</bottom>
  156.         </rect>
  157.         <style>scrolling</style>
  158.         <autoSelect> <false /> </autoSelect>
  159.         <showLines> <false /> </showLines>
  160.         <wideMargins> <false /> </wideMargins>
  161.         <multipleLines> <false /> </multipleLines>
  162.         <reservedFamily> 0 </reservedFamily>
  163.         <titleWidth>0</titleWidth>
  164.         <icon>0</icon>
  165.         <textAlign>left</textAlign>
  166.         <font>Helvetica</font>
  167.         <textSize>9</textSize>
  168.         <textStyle>plain</textStyle>
  169.         <textHeight>12</textHeight>
  170.         <name>data2</name>
  171.         <script></script>
  172.     </part>
  173.     <content>
  174.         <layer>card</layer>
  175.         <id>1</id>
  176.         <text><span class="style2">fghanistan
  177. Albania
  178. Algeria
  179. Andorra
  180. Angola
  181. Antigua & Barbuda
  182. Argentina
  183. Australia
  184. Austria
  185. Bahamas
  186. Bahrain
  187. Bangladesh
  188. Barbados
  189. Belgium
  190. Belize
  191. Benin
  192. Bhutan
  193. Bolivia
  194. Botswana
  195. Brazil
  196. Brunei
  197. Bulgaria
  198. Burkina Faso
  199. Burundi
  200. Cameroon
  201. Canada
  202. Cape Verde
  203. Cent. African Rep.
  204. Chad
  205. Chile
  206. China
  207. Colombia
  208. Comoros
  209. Congo
  210. Costa Rica
  211. Cuba
  212. Cyprus
  213. Czechoslovakia
  214. Denmark
  215. Djibouti
  216. Dominica
  217. Dominican Republic
  218. Ecuador
  219. Egypt
  220. El Salvador
  221. Equatorial Guinea
  222. Ethiopia
  223. Falkland Islands
  224. Fiji
  225. Finland
  226. France
  227. French Guiana
  228. Gabon
  229. Gambia
  230. Germany
  231. Ghana
  232. Greece
  233. Greenland
  234. Grenada
  235. Guadeloupe
  236. Guatemala
  237. Guinea
  238. Guinea-Bissau
  239. Guyana
  240. Haiti
  241. Honduras
  242. Hong Kong
  243. Hungary
  244. Iceland
  245. India
  246. Indonesia
  247. Iran
  248. Iraq
  249. Ireland
  250. Israel
  251. Italy
  252. Ivory Coast
  253. Jamaica
  254. Japan
  255. Jordan
  256. Kampuchea
  257. Kenya
  258. Korea DPR
  259. Korea Rep.
  260. Kuwait
  261. Lao PDR
  262. Lebanon
  263. Lesotho
  264. Liberia
  265. Libya
  266. Luxembourg
  267. Madagascar
  268. Malawi
  269. Malaysia
  270. Maldives
  271. Mali
  272. Malta
  273. Martinique
  274. Mauritania
  275. Mauritius
  276. Mexico
  277. Monaco
  278. Mongolia
  279. Morocco
  280. Mozambique
  281. Myanmar
  282. Namibia
  283. Nepal
  284. Netherlands
  285. New Caledonia
  286. New Zealand
  287. Nicaragua
  288. Niger
  289. Nigeria
  290. Norway
  291. Oman
  292. Pakistan
  293. Panama
  294. Papua-New Guinea
  295. Paraguay
  296. Peru
  297. Philippines
  298. Poland
  299. Portugal
  300. Puerto Rico
  301. Qatar
  302. Romania
  303. Rwanda
  304. Sao Tome & Principe
  305. Saudi Arabia
  306. Senegal
  307. Seychelles
  308. Sierra Leone
  309. Singapore
  310. Solomon Islands
  311. Somalia
  312. South Africa
  313. Spain
  314. Sri Lanka
  315. St. Christopher-Nevis
  316. St. Lucia
  317. St. Vincent-Grenadine
  318. Sudan
  319. Surinam
  320. Swaziland
  321. Sweden
  322. Switzerland
  323. Syria
  324. Taiwan
  325. Tanzania
  326. Thailand
  327. Togo
  328. Tonga
  329. Trinidad & Tobago
  330. Tunisia
  331. Turkey
  332. Uganda
  333. United Arab Emirates
  334. United Kingdom
  335. United States
  336. Uruguay
  337. USSR
  338. Vanuatu
  339. Venezuela
  340. Vietnam
  341. Western Sahara
  342. Yemen Arab Republic
  343. Yemen PDR
  344. Yugoslavia
  345. Zaire
  346. Zambia
  347. Zimbabwe
  348. </span><span class="style1"></span></text>
  349.     </content>
  350.     <content>
  351.         <layer>card</layer>
  352.         <id>2</id>
  353.         <text>bikes
  354. cars
  355. population 1990
  356. population 1980
  357. sheep
  358. cows
  359. pigs
  360. land area
  361. coastline distance
  362. tv's in use
  363. computers in use
  364. GNP
  365. per capita income
  366. life expectancy male
  367. life expectancy female
  368. domestic pets
  369. AIDS cases reported
  370. infant mortality</text>
  371.     </content>
  372.     <content>
  373.         <layer>card</layer>
  374.         <id>3</id>
  375.         <text>5415.7
  376. 14.3
  377. 9577.3
  378. 4263.3
  379. 2544.6
  380. 6859.4
  381. 5598.8
  382. 7890.7
  383. 8151.1
  384. 4435.1
  385. 9099.2
  386. 8971.9
  387. 9185.2
  388. 5050.3
  389. 8931.2
  390. 5544.3
  391. 2979.7
  392. 8656.3
  393. 6216.7
  394. </text>
  395.     </content>
  396.     <content>
  397.         <layer>card</layer>
  398.         <id>4</id>
  399.         <text>8151.1
  400. 4435.1
  401. 9099.2
  402. 8971.9
  403. 9185.2
  404. 5050.3
  405. 8931.2
  406. 5544.3
  407. 2979.7
  408. 8656.3
  409. 6216.7
  410. 3335.2
  411. 3529.8
  412. 3827.5
  413. 8606.6
  414. 355.4
  415. 2061.9
  416. 3975.9
  417. 1615.5
  418. 1352.3
  419. 6932.1
  420. 6471.2
  421. </text>
  422.     </content>
  423.     <content>
  424.         <layer>card</layer>
  425.         <id>6</id>
  426.         <text><span class="style2">210.9
  427. 8492.4
  428. 799.9
  429. 2616.3
  430. 2049.4
  431. 3240.5
  432. 1724.5
  433. 3097.1
  434. 2125.4
  435. 23.5
  436. 3644.7
  437. 5068.6
  438. 7123.7
  439. 6588.4
  440. 949
  441. 8365.8
  442. 3411.6
  443. 8014.6
  444. 769.6
  445. 4219.6
  446. 8362
  447. 9537.6
  448. 6825.8
  449. 1049.1
  450. 1619.4
  451. 7158.3
  452. 8223.8
  453. 7365.5
  454. 1337.5
  455. 8725.8
  456. </span><span class="style1"></span></text>
  457.     </content>
  458.     <content>
  459.         <layer>card</layer>
  460.         <id>7</id>
  461.         <text>4477.5
  462. 1856.7
  463. 5021.8
  464. 608.4
  465. 4223.2
  466. 8512
  467. 1100.6
  468. 6865.9
  469. 4157
  470. 6188.6
  471. 1122.3
  472. 2444.4
  473. 2878.9
  474. 4622.4
  475. 7059.1
  476. 2130.9
  477. 3896.2
  478. 1806.1
  479. 5101.2
  480. 4852.5
  481. 5268.5
  482. 7203
  483. 781
  484. 5160.3
  485. 7617.7
  486. 587.6
  487. 5372.9
  488. 1289.3
  489. 8594.6
  490. 8894.1
  491. </text>
  492.     </content>
  493.     <name>storage card</name>
  494.     <script></script>
  495. </card>
  496.  
  497.  
  498. card_3043.xml
  499. <?xml version="1.0" encoding="utf-8" ?>
  500. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  501. <card>
  502.     <id>3043</id>
  503.     <filler1>0</filler1>
  504.     <bitmap>BMAP_4399.pbm</bitmap>
  505.     <cantDelete> <false /> </cantDelete>
  506.     <showPict> <true /> </showPict>
  507.     <dontSearch> <false /> </dontSearch>
  508.     <owner>2706</owner>
  509.     <link rel="stylesheet" type="text/css" href="stylesheet_3194.css" />
  510.     <part>
  511.         <id>1</id>
  512.         <type>button</type>
  513.         <visible> <true /> </visible>
  514.         <reserved5> 0 </reserved5>
  515.         <reserved4> 0 </reserved4>
  516.         <reserved3> 0 </reserved3>
  517.         <reserved2> 0 </reserved2>
  518.         <reserved1> 0 </reserved1>
  519.         <enabled> <true /> </enabled>
  520.         <rect>
  521.             <left>23</left>
  522.             <top>245</top>
  523.             <right>83</right>
  524.             <bottom>291</bottom>
  525.         </rect>
  526.         <style>transparent</style>
  527.         <showName> <true /> </showName>
  528.         <highlight> <false /> </highlight>
  529.         <autoHighlight> <true /> </autoHighlight>
  530.         <sharedHighlight> <true /> </sharedHighlight>
  531.         <family>0</family>
  532.         <titleWidth>0</titleWidth>
  533.         <icon>9761</icon>
  534.         <textAlign>center</textAlign>
  535.         <font>Chicago</font>
  536.         <textSize>12</textSize>
  537.         <textStyle>plain</textStyle>
  538.         <name>Country</name>
  539.         <script>on mouseUp
  540. global countries
  541. put cd fld "allList" of cd "storage card" into items
  542. get showlist(items,13,"Select the countries to graph. Hold the Command key to select more than one.",true,"OK,Cancel",countries)
  543. if line 1 of it is "Cancel" then
  544. exit mouseUp
  545. else
  546. put empty into countries
  547. delete line 1 of it
  548. repeat with i = 1 to the number of lines in it
  549. put item 1 of line i of it into line i of countries
  550. end repeat
  551. end if
  552. end mouseUp</script>
  553.     </part>
  554.     <part>
  555.         <id>2</id>
  556.         <type>button</type>
  557.         <visible> <true /> </visible>
  558.         <reserved5> 0 </reserved5>
  559.         <reserved4> 0 </reserved4>
  560.         <reserved3> 0 </reserved3>
  561.         <reserved2> 0 </reserved2>
  562.         <reserved1> 0 </reserved1>
  563.         <enabled> <true /> </enabled>
  564.         <rect>
  565.             <left>91</left>
  566.             <top>245</top>
  567.             <right>151</right>
  568.             <bottom>291</bottom>
  569.         </rect>
  570.         <style>transparent</style>
  571.         <showName> <true /> </showName>
  572.         <highlight> <false /> </highlight>
  573.         <autoHighlight> <true /> </autoHighlight>
  574.         <sharedHighlight> <true /> </sharedHighlight>
  575.         <family>0</family>
  576.         <titleWidth>0</titleWidth>
  577.         <icon>15972</icon>
  578.         <textAlign>center</textAlign>
  579.         <font>Chicago</font>
  580.         <textSize>12</textSize>
  581.         <textStyle>plain</textStyle>
  582.         <name>Topic</name>
  583.         <script>on mouseUp
  584. global topics
  585. put cd fld "topicList" of cd "storage card" into items
  586. get showlist(items,13,"Select the topics to graph. Hold the Command key to select more than one.",true,"OK,Cancel",topics)
  587. if line 1 of it is "Cancel" then
  588. exit mouseUp
  589. else
  590. put empty into topics
  591. delete line 1 of it
  592. repeat with i = 1 to the number of lines in it
  593. put item 1 of line i of it into line i of topics
  594. end repeat
  595. end if
  596. end mouseUp</script>
  597.     </part>
  598.     <part>
  599.         <id>3</id>
  600.         <type>button</type>
  601.         <visible> <true /> </visible>
  602.         <reserved5> 0 </reserved5>
  603.         <reserved4> 0 </reserved4>
  604.         <reserved3> 0 </reserved3>
  605.         <reserved2> 0 </reserved2>
  606.         <reserved1> 0 </reserved1>
  607.         <enabled> <true /> </enabled>
  608.         <rect>
  609.             <left>156</left>
  610.             <top>245</top>
  611.             <right>216</right>
  612.             <bottom>291</bottom>
  613.         </rect>
  614.         <style>transparent</style>
  615.         <showName> <true /> </showName>
  616.         <highlight> <false /> </highlight>
  617.         <autoHighlight> <true /> </autoHighlight>
  618.         <sharedHighlight> <true /> </sharedHighlight>
  619.         <family>0</family>
  620.         <titleWidth>0</titleWidth>
  621.         <icon>7771</icon>
  622.         <textAlign>center</textAlign>
  623.         <font>Chicago</font>
  624.         <textSize>12</textSize>
  625.         <textStyle>plain</textStyle>
  626.         <name>Big/Small</name>
  627.         <script>on mouseUp
  628. answer "This feature will allow you to graph any number of countries with the highest or lowest values for a certain variable." with "Gotcha"
  629. end mouseUp</script>
  630.     </part>
  631.     <part>
  632.         <id>4</id>
  633.         <type>button</type>
  634.         <visible> <true /> </visible>
  635.         <reserved5> 0 </reserved5>
  636.         <reserved4> 0 </reserved4>
  637.         <reserved3> 0 </reserved3>
  638.         <reserved2> 0 </reserved2>
  639.         <reserved1> 0 </reserved1>
  640.         <enabled> <true /> </enabled>
  641.         <rect>
  642.             <left>277</left>
  643.             <top>245</top>
  644.             <right>337</right>
  645.             <bottom>291</bottom>
  646.         </rect>
  647.         <style>transparent</style>
  648.         <showName> <true /> </showName>
  649.         <highlight> <false /> </highlight>
  650.         <autoHighlight> <true /> </autoHighlight>
  651.         <sharedHighlight> <true /> </sharedHighlight>
  652.         <family>0</family>
  653.         <titleWidth>0</titleWidth>
  654.         <icon>1004</icon>
  655.         <textAlign>center</textAlign>
  656.         <font>Chicago</font>
  657.         <textSize>12</textSize>
  658.         <textStyle>plain</textStyle>
  659.         <name>Save</name>
  660.         <script>on mouseUp
  661. ask file "Pretend to save graph picture as:"
  662. end mouseUp</script>
  663.     </part>
  664.     <part>
  665.         <id>5</id>
  666.         <type>button</type>
  667.         <visible> <true /> </visible>
  668.         <reserved5> 0 </reserved5>
  669.         <reserved4> 0 </reserved4>
  670.         <reserved3> 0 </reserved3>
  671.         <reserved2> 0 </reserved2>
  672.         <reserved1> 0 </reserved1>
  673.         <enabled> <true /> </enabled>
  674.         <rect>
  675.             <left>342</left>
  676.             <top>245</top>
  677.             <right>402</right>
  678.             <bottom>291</bottom>
  679.         </rect>
  680.         <style>transparent</style>
  681.         <showName> <true /> </showName>
  682.         <highlight> <false /> </highlight>
  683.         <autoHighlight> <true /> </autoHighlight>
  684.         <sharedHighlight> <true /> </sharedHighlight>
  685.         <family>0</family>
  686.         <titleWidth>0</titleWidth>
  687.         <icon>1007</icon>
  688.         <textAlign>center</textAlign>
  689.         <font>Chicago</font>
  690.         <textSize>12</textSize>
  691.         <textStyle>plain</textStyle>
  692.         <name>Print</name>
  693.         <script>on mouseUp
  694. answer "Man, look at that printer rip!" with "Whoa!"
  695. end mouseUp</script>
  696.     </part>
  697.     <part>
  698.         <id>7</id>
  699.         <type>button</type>
  700.         <visible> <true /> </visible>
  701.         <reserved5> 0 </reserved5>
  702.         <reserved4> 0 </reserved4>
  703.         <reserved3> 0 </reserved3>
  704.         <reserved2> 0 </reserved2>
  705.         <reserved1> 0 </reserved1>
  706.         <enabled> <true /> </enabled>
  707.         <rect>
  708.             <left>218</left>
  709.             <top>243</top>
  710.             <right>276</right>
  711.             <bottom>293</bottom>
  712.         </rect>
  713.         <style>transparent</style>
  714.         <showName> <true /> </showName>
  715.         <highlight> <false /> </highlight>
  716.         <autoHighlight> <true /> </autoHighlight>
  717.         <sharedHighlight> <true /> </sharedHighlight>
  718.         <family>0</family>
  719.         <titleWidth>0</titleWidth>
  720.         <icon>7142</icon>
  721.         <textAlign>center</textAlign>
  722.         <font>Chicago</font>
  723.         <textSize>12</textSize>
  724.         <textStyle>plain</textStyle>
  725.         <name>Draw Graph</name>
  726.         <script>on mouseup
  727. global countries, topics, data
  728. loadTheData
  729. if countries is empty or topics is empty then
  730. answer "You must select countries and topics before graphing." with "Will do."
  731. exit mouseUp
  732. end if
  733. choose select tool
  734. -------- both need these
  735. put the number of lines in topics into sets
  736. put the number of lines in countries into columns
  737. put trunc((400-50) / sets) into width
  738. put 0.01 into max
  739. put 1.3 into spacing
  740. ------------------
  741. --  if the hilite of cd btn "leave graf" is false then            -- used to test labeling section
  742. domenu "select all"
  743. domenu "clear picture"
  744. set the cursor to watch
  745. repeat with k = 1 to  columns
  746. repeat with j = 1 to sets
  747. if item j of line k of data > max then put item j of line k of data into max
  748. end repeat
  749. end repeat
  750.  
  751. put (95 / max) into deltaH
  752. choose rectangle tool
  753. set filled to true
  754.  
  755. repeat with topic = 1 to columns
  756. set pattern to 11 + topic
  757. repeat with bar = 1 to sets
  758. put trunc (50-width + bar*(width) + ((topic-1)*width/spacing/columns)) into left
  759. put trunc (153-(item bar of line (topic + 1) of data * deltaH)) into top
  760. drag from left,top to trunc(left + width/columns/spacing + ((columns-topic)/width/columns)),190
  761. end repeat
  762. end repeat
  763. --  else
  764. -- drag from 0,192 to 413,292
  765. -- domenu "clear picture"
  766. -- end if
  767. choose text tool
  768. set the textFont to Helvetica
  769. set the textSize to 9
  770. set the textAlign to left
  771. repeat with label = 1 to sets
  772. click at (50 + ((label-1)*width)), 205 + ((label-1) mod 2) * ((the textSize) + 4)
  773. type line label of topics
  774. end repeat
  775. choose browse tool
  776. end mouseup
  777.  
  778. on loadTheData
  779. global data, countries, topics
  780. lock screen
  781. put "Loading the data..."
  782. set cursor to watch
  783. put the loc of window "Scroll" into scrollLoc
  784. set the loc of window "Scroll" to "-32767,-32767"
  785. push cd
  786. go to cd 1 of stack "stored data"
  787. put empty into data
  788. repeat with i = 1 to the number of lines in countries
  789. put cd fld i into data1
  790. repeat with j=1 to 10
  791. put line j of data1 into item j of line i of data
  792. end repeat
  793. end repeat
  794. pop cd
  795. hide window "Scroll"
  796. set the loc of window "Scroll" to scrollLoc
  797. hide msg
  798. unlock screen
  799. end loadTheData</script>
  800.     </part>
  801.     <part>
  802.         <id>12</id>
  803.         <type>button</type>
  804.         <visible> <true /> </visible>
  805.         <reserved5> 0 </reserved5>
  806.         <reserved4> 0 </reserved4>
  807.         <reserved3> 0 </reserved3>
  808.         <reserved2> 0 </reserved2>
  809.         <reserved1> 0 </reserved1>
  810.         <enabled> <true /> </enabled>
  811.         <rect>
  812.             <left>356</left>
  813.             <top>2</top>
  814.             <right>414</right>
  815.             <bottom>50</bottom>
  816.         </rect>
  817.         <style>transparent</style>
  818.         <showName> <true /> </showName>
  819.         <highlight> <false /> </highlight>
  820.         <autoHighlight> <true /> </autoHighlight>
  821.         <sharedHighlight> <true /> </sharedHighlight>
  822.         <family>0</family>
  823.         <titleWidth>0</titleWidth>
  824.         <icon>2162</icon>
  825.         <textAlign>center</textAlign>
  826.         <font>Chicago</font>
  827.         <textSize>12</textSize>
  828.         <textStyle>plain</textStyle>
  829.         <name>Go Back</name>
  830.         <script>on mouseUp
  831. global lastCdAt    --- last card at
  832. lock screen
  833. go to lastCdAt
  834. --  close window "Global Graphing"
  835. end mouseUp</script>
  836.     </part>
  837.     <part>
  838.         <id>13</id>
  839.         <type>field</type>
  840.         <visible> <false /> </visible>
  841.         <dontWrap> <false /> </dontWrap>
  842.         <dontSearch> <false /> </dontSearch>
  843.         <sharedText> <false /> </sharedText>
  844.         <fixedLineHeight> <false /> </fixedLineHeight>
  845.         <autoTab> <false /> </autoTab>
  846.         <lockText> <false /> </lockText>
  847.         <rect>
  848.             <left>82</left>
  849.             <top>18</top>
  850.             <right>330</right>
  851.             <bottom>134</bottom>
  852.         </rect>
  853.         <style>scrolling</style>
  854.         <autoSelect> <false /> </autoSelect>
  855.         <showLines> <false /> </showLines>
  856.         <wideMargins> <false /> </wideMargins>
  857.         <multipleLines> <false /> </multipleLines>
  858.         <reservedFamily> 0 </reservedFamily>
  859.         <titleWidth>0</titleWidth>
  860.         <icon>0</icon>
  861.         <textAlign>left</textAlign>
  862.         <font>Geneva</font>
  863.         <textSize>12</textSize>
  864.         <textStyle>plain</textStyle>
  865.         <textHeight>16</textHeight>
  866.         <name>card help</name>
  867.         <script></script>
  868.     </part>
  869.     <content>
  870.         <layer>card</layer>
  871.         <id>9</id>
  872.         <text><span class="style2">415.7
  873. 14.3
  874. 9577.3
  875. 4263.3
  876. 2544.6
  877. 6859.4
  878. 5598.8
  879. 7890.7
  880. 8151.1
  881. 4435.1
  882. 9099.2
  883. 8971.9
  884. 9185.2
  885. 5050.3
  886. 8931.2
  887. 5544.3
  888. 2979.7
  889. 8656.3
  890. 6216.7
  891. 3335.2
  892. 3529.8
  893. 3827.5
  894. 8606.6
  895. 355.4
  896. 2061.9
  897. 3975.9
  898. 1615.5
  899. 1352.3
  900. 6932.1
  901. 6471.2
  902. </span><span class="style3"></span></text>
  903.     </content>
  904.     <content>
  905.         <layer>card</layer>
  906.         <id>13</id>
  907.         <text>The Graphing feature allows you to create customized graphs of any countries and any data you select.
  908.  
  909. Use the buttons at the bottom of the screen to design your graph:
  910.  
  911. ‚Ä¢Country:  Select the country or countries you wish to graph. 
  912.  
  913. ‚Ä¢Topic: Select the topic(s) you wish to graph.
  914.  
  915. ‚Ä¢Big/Small:  Global Recall can rank countries according to a certain variable and graph the largest or smallest 5 or 10, or any number you choose.
  916.  
  917. ‚Ä¢Draw Graph: once you have selected the appropriate features,  this will draw your graph for you.
  918.  
  919. ‚Ä¢Save: allows you to save a picture of your graph in MacPaint format so you can open it in any painting or word processing application.
  920.  
  921. ‚Ä¢Print:  If you have a printer, this will produce a paper copy of your graph.
  922.  
  923. ‚Ä¢Go back: When you are done, this will return you to the section of Global Recall you just left.
  924.  
  925.  
  926. (Psst.  needs mega-work...)</text>
  927.     </content>
  928.     <name></name>
  929.     <script></script>
  930. </card>
  931.  
  932.  
  933.